[ToC] [Up] [Back] [Next] ... [Book Plug] |
The Information Commons .................... Introduction to HTML |
The following table, illustrating TR attributes:
<table border width=40%> <TR> <TH> Head 1<BR>bloop </TH> <TH> Head 2 </TR> <TR ALIGN="left"> <TH> Head 1<BR>bloop </TH> <TH> Head 2 </TR> <TR VALIGN="bottom"> <TH> Head 1<BR>bloop </TH> <TH> Head 2 </TR> <TR> <TH> Head 1<BR>bloop </TH> <TH> Head 2 </TR> <TR ALIGN="center"> <TD> 4.11<BR>aaaa </TD> <TD> 4.23 </TR> <TR ALIGN="right"> <TD> 4.11<BR>aaaa </TD> <TD> 4.23 </TR> <TR VALIGN="top"> <TD> 4.11<BR>aaaa </TD> <TD> 4.23 </TR> <TR VALIGN="bottom"> <TD> 4.11<BR>aaaa </TD> <TD> 4.23 </TR> </table>
is displayed by your browser as: (I hope your browser supports tables!)
Head 1 bloop | Head 2 |
---|---|
Head 1 bloop | Head 2 |
Head 1 bloop | Head 2 |
Head 1 bloop | Head 2 |
4.11 aaaa | 4.23 |
4.11 aaaa | 4.23 |
4.11 aaaa | 4.23 |
4.11 aaaa | 4.23 |
As the following example illustrates, alignment attributes on TD or TH attributes override those alignments specified by the TR
<table border width=40%> <TR> <TD>4.11<BR>aaaa</TD> <TD> 4.23 </TR> <TR ALIGN="center" VALIGN="center"> <TD>4.11<BR>aaaa</TD> <TD> 4.23 </TR> <TR ALIGN="center" VALIGN="center"> <TD>4.11<BR>aaaa</TD> <TD VALIGN="top"> 4.23 </TR> </table>
Is displayed as:
4.11 aaaa | 4.23 |
4.11 aaaa | 4.23 |
4.11 aaaa | 4.23 |
[ToC] [Up] [Back] [Next] ... [Book Plug] | .................... Introduction to HTML |
© Ian Graham 1994-1995 | Page Last Updated: 4 December 1995 |